import common.pagedriver
my_ID='我的\n第 3 个标签，共 3 个'
classname='android.widget.ImageView'
disallow='com.android.permissioncontroller:id/permission_deny_button'#“不允许”选项的ID
disallowagain='com.android.permissioncontroller:id/permission_deny_and_dont_ask_again_button'
class HomePage():
    def post_click(self):#“发帖”标签(0)
        list=common.pagedriver.locater_list_class(classname)
        list[0].click()
    def search_click(self):#“搜索”标签(1)
        list =common.pagedriver.locater_list_class(classname)
        list[1].click()
    def message_click(self):#“消息”标签(2)
        list =common.pagedriver.locater_list_class(classname)
        list[2].click()
    def my_click(self):#“我的”标签(3)
        common.pagedriver.click_accID(my_ID)
    def disallow_click(self):
        common.pagedriver.click_ID(disallow)
    def disallow_again_click(self):
        common.pagedriver.click_ID(disallowagain)
